package com.example.travelservlet.likeDynamic.dao;

import com.example.travelservlet.entity.Like;
import com.example.travelservlet.entity.LikeDynamic;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author hxy
 * @date 2023/5/19 10:03
 */
@Mapper
@Repository
public interface LikeDynamicMapper {
    Integer insertLikeDynamic(LikeDynamic likeDynamic);

    Integer deleteLikeDynamic(String userId,String dynamicId);

    List<LikeDynamic> findLikeDynamicByDynamicId(String dynamicId);
}
